package com.fishing.entity;

import java.util.List;

/***
 * ztree model
 * @author lrz
 * */
public class ZTreeModel {
    private String id;
    private String pId;
    private String name;
    private List<ZTreeModel> children;  //Z树模型
	
    
    
    public ZTreeModel() {
	}

	public ZTreeModel(String id, String pId, String name, List<ZTreeModel> children) {
		super();
		this.id = id;
		this.pId = pId;
		this.name = name;
		this.children = children;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ZTreeModel> getChildren() {
		return children;
	}

	public void setChildren(List<ZTreeModel> children) {
		this.children = children;
	}   
}